package com.ease.framework.gef4p.actions
{
	import com.ease.framework.assets.icons.align.AlignIconFactory;
	
	public class HorizontalAlignButton extends AlignButton
	{
		private static const xml:XML = 
						<root>
				            <menuitem label='左对齐' id='alignLeft'/>
				            <menuitem label='左右居中' id='alignCenter'/>
				            <menuitem label='右对齐' id='alignRight'/>
				        </root>;
		
		public function HorizontalAlignButton()
		{
			super();
			xmlData = xml;
			
			setStyle("icon",AlignIconFactory.compAlignCenter);
			
			currentAlign = "alignCenter";
		}
		
	}
}